﻿using System;
using UnityEditor.IMGUI.Controls;
using UnityEngine;

namespace ProjScan.ScanGUI.Tools
{
	// Token: 0x02000265 RID: 613
	public class ThresholdDataColumnHeader : MultiColumnHeader
	{
		// Token: 0x06001090 RID: 4240 RVA: 0x0004BFA4 File Offset: 0x0004A1A4
		public ThresholdDataColumnHeader(MultiColumnHeaderState state) : base(state)
		{
			this.rect_0 = default(Rect);
			this.rect_1 = default(Rect);
			MultiColumnHeader.DefaultStyles.columnHeader.fontSize = 15;
			MultiColumnHeader.DefaultStyles.columnHeaderCenterAligned.fontSize = 15;
			MultiColumnHeader.DefaultStyles.columnHeaderRightAligned.fontSize = 15;
		}

		// Token: 0x06001091 RID: 4241 RVA: 0x0004BFFC File Offset: 0x0004A1FC
		protected void AdjustColumnLayOut(Rect columnRect)
		{
			float width = columnRect.width;
			columnRect.height -= 5f;
			this.rect_1 = columnRect;
			this.rect_1.width = width - 0f;
		}

		// Token: 0x06001092 RID: 4242 RVA: 0x00007F06 File Offset: 0x00006106
		protected override void ColumnHeaderGUI(MultiColumnHeaderState.Column column, Rect headerRect, int columnIndex)
		{
			this.AdjustColumnLayOut(headerRect);
			base.ColumnHeaderGUI(column, this.rect_1, columnIndex);
		}

		// Token: 0x040009D3 RID: 2515
		private Rect rect_0;

		// Token: 0x040009D4 RID: 2516
		private Rect rect_1;
	}
}
